package com.cy.service;

import com.cy.bean.GameList;
import com.cy.dao.AddGameDao;
import com.cy.dao.AddGameDaoImpl;

public class AddGameServiceImpl implements AddGameService {

	AddGameDao addGameDao = new AddGameDaoImpl();

	@Override
	public boolean findGameByName(String gamename) {
		return addGameDao.findGameByName(gamename);
	}

	@Override
	public boolean addGame(GameList game) {
		return addGameDao.addGame(game);
	}

}
